package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.Works;
import com.ruoyi.system.domain.WorkDetailDTO;

/**
 * 【请填写功能名称】Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-25
 */
public interface WorksMapper 
{

    public Works selectWorksByWorkId(Long workId);


    public List<Works> selectWorksList(Works works);
    public List<Works> selectWorksLists(Works works);


    public int insertWorks(Works works);


    public int updateWorks(Works works);


    public int deleteWorksByWorkId(Long workId);


    public int deleteWorksByWorkIds(Long[] workIds);


    /*int selecUserIdByWorkId(Long workId);*/

    /*根据作品id查询详细的作品信息*/
    WorkDetailDTO selectWorkDetailByWorkId(Long workId);
}
